package com.superview.domain;

import javax.persistence.Column;
import javax.persistence.Entity;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import steed.hibernatemaster.domain.UUIDDomain;
@Entity
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class DialogueCache extends UUIDDomain{
	private static final long serialVersionUID = 1L;
	private String text;
	private String phoneSequence;
	/**
	 * @return the text
	 */
	public String getText() {
		return text;
	}
	/**
	 * @param text the text to set
	 */
	public void setText(String text) {
		this.text = text;
	}
	/**
	 * @return the phoneSequence
	 */
	@Column(length = 100000)
	public String getPhoneSequence() {
		return phoneSequence;
	}
	/**
	 * @param phoneSequence the phoneSequence to set
	 */
	public void setPhoneSequence(String phoneSequence) {
		this.phoneSequence = phoneSequence;
	}
	@Override
	public String toString() {
		return "DialogueCache [text=" + text + ", phoneSequence=" + phoneSequence + "]";
	}
	
}
